package com.nut.lmsc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nut.lmsc.entity.AdapayRegion;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface AdapayRegionMapper extends BaseMapper<AdapayRegion> {

    @Select("select id,pid,name,type,code from biz_adapay_region where pid=#{pid}")
    List<AdapayRegion> selectByPid(@Param("pid") Integer pid);

}